#ifndef __GAME_H__
#define __GAME_H__

#include "GameEngine/GameEngine.h"
#include "GameEngine/Debug.h"
#include "GameEngine/Lesson36.h"

class Game : public GameEngine{
public:
	Game(NativeDisplayType hDC=NULL,NativeWindowType m_hWnd=NULL);
	void hideNotify();
	void showNotify();
	void touchPressed(int index, int x, int y, int tapCount=1);
	void touchMoved(int index, int x, int y);
	void touchReleased(int index, int x, int y);
	void paint();
	void update();

private:
	int state;
	CPVRTModelPOD model;

	Model3D *m3d;
	GLuint	*m_puiVbo;
	GLuint	m_puiIndexVbo;
	GLvoid* vbo_buffer;
	GLuint textname;
};


#endif
